package com.chixing.day04_oop;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car();
        car1.setCarId(101);
        car1.setCarName("AAA车辆");

        Car car2=new Car(102,"BBB车辆");
        System.out.println(car2);

        Car car3 = new Car(103, "CCC车辆", "特斯拉", "绿");
        System.out.println(car3);
    }
}
